#encoding:utf-8

import unittest
import login_test
import HTMLTestRunner
import sys
reload(sys)
sys.setdefaultencoding('utf-8')

suit=unittest.TestSuite()
suit.addTest(unittest.makeSuite(login_test.Login))

#指定报告存放路径
filepath="C:/Users/CX/Desktop/test/jd_login.html"
reportfile=file(filepath,'wb')

runner=HTMLTestRunner.HTMLTestRunner(stream=reportfile,title=u"京东登录页测试",description=u"登录页的各个控件测试")
runner.run(suit)
# git
# fenzhi1
# fenzhi2
#唐千伦
#勒布朗·詹姆唐